<?php

define('BASE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR);

include './autoload.php';

## 微信授权登录测试=====================
//$obj = new wxtest();
//$res = $obj->index();
# ======================================

## qq授权登录测试
//$wx = new \lib\qq\qq();
//$res = $wx->start();
//
//$obj = new qqtest();
//$res = $obj->index();


## 新浪微博授权登陆测试
//$obj = new wbtest();
//$res = $obj->index();


## github 授权登录测试
$obj = new github();
$res = $obj->index();

var_dump($res);

